/**
 * 
 */
package com.ece.core.teamcollabexplorer;

import org.eclipse.jface.action.IAction;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IObjectActionDelegate;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PlatformUI;

/**
 * This class takes care of all the logic associated with 
 * Accepting any individual changes or the entire code review.
 * 
 * @author Keyur Hindocha
 *
 */
public class AcceptReviewAction implements IObjectActionDelegate {

	@Override
	public void run(IAction action) {
	      MessageDialog.openInformation(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
	    	         "Accept Code Review",
	    	         "OpenCollaborator Accept Code Review Action executed.");
	}

	@Override
	public void selectionChanged(IAction action, ISelection selection) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void setActivePart(IAction action, IWorkbenchPart targetPart) {
		// TODO Auto-generated method stub
		
	}

}
